package com.ziyun.erp.web.modules.member.controller;

import com.ziyun.erp.modules.member.service.ConfigBaseSettingService;
import com.ziyun.erp.modules.member.service.UserOrderCommissionService;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.R;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

/**
 * @author guizhao
 * @date 2018-11-07 18:55
 */
@RestController
@RequestMapping(value = "/member/userapplycommission")
public class UserOrderCommissionController {

    @Autowired
    private UserOrderCommissionService userOrderCommissionService;

    /**
     * 列表
     */
    @RequestMapping("/list")
    public R list(@RequestParam Map<String, Object> params) {
        PageUtils page = userOrderCommissionService.queryPage(params);
        return R.ok().put("page",page);
    }
}
